package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.DbFileDao;
import io.renren.modules.jxgk.entity.DbFileEntity;
import io.renren.modules.jxgk.service.DbFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DbFileServiceImpl implements DbFileService{
    @Autowired
    DbFileDao dbFileDao;
    public List<DbFileEntity> queryList(Map<String, Object> map){
        return dbFileDao.queryList(map);
    }
    public int queryTotal(Map<String, Object> map){
        return  dbFileDao.queryTotal(map);
    }
    public void deleteBatch(String[] termIds){
        dbFileDao.deleteBatch(termIds);
    }
    public void save(DbFileEntity ste){
        dbFileDao.save(ste);
    }
    public DbFileEntity queryObject(String index){
        return dbFileDao.queryObject(index);
    }
    public void update(DbFileEntity ste){
        dbFileDao.update(ste);
    }
    public List<String> queryPath(String fid){
        return dbFileDao.queryPath(fid);
    }
}
